package com.example.springboot_test.design_mode.proxy;

public abstract class AbstractDoor implements Alarm {
    abstract void open();

    abstract void close();

    @Override
    public void alarm() {
        System.out.println("我要报警");
    }
}